package com.squid.base.config.mybatis.interceptor;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Set;

@Data
@ConfigurationProperties(value = "mybatis-plus")
public class MybatisIgnoreProperties {
    /**
     * 忽略mapper
     */
    private Set<String> ignoredMappers;
    /**
     * 慢查时间限制
     */
    private Long slowQueryTime=2000L;
    /**
     * 启用
     */
    private Boolean enableSlowQueryNotify = false;
}
